package com.ruoyi.combat.domain.equiplocation;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 网络ip位置对象 combat_equip_loc
 * 
 * @author ruoyi
 * @date 2025-01-06
 */
@ApiModel("网路IP历史估计位置表")
public class CombatEquipLoc extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备定位信息记录ID */
    @ApiModelProperty("设备定位信息记录ID")
    private Long id;

    /** 设备ID */
    @ApiModelProperty("设备ID")
    @Excel(name = "设备ID")
    private Long equipId;

    /** 任务ID */
    @ApiModelProperty("任务ID")
    @Excel(name = "任务ID")
    private Long taskId;

    /** 设备名称 */
    @ApiModelProperty("设备名称")
    @Excel(name = "设备名称")
    private String equipname;

    /** 设备估计纬度 */
    @ApiModelProperty("设备估计纬度")
    @Excel(name = "设备估计纬度")
    private String equipGeoLan;

    /** 设备估计经度 */
    @ApiModelProperty("设备估计经度")
    @Excel(name = "设备估计经度")
    private String equipGeoLon;

    /** 位置失效时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("位置失效时间")
    @Excel(name = "位置失效时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date geoEndtime;

    /** 任务名称 */
    @ApiModelProperty("任务名称")
    @Excel(name = "任务名称")
    private String taskname;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setEquipId(Long equipId) 
    {
        this.equipId = equipId;
    }

    public Long getEquipId() 
    {
        return equipId;
    }
    public void setTaskId(Long taskId) 
    {
        this.taskId = taskId;
    }

    public Long getTaskId() 
    {
        return taskId;
    }
    public void setEquipname(String equipname) 
    {
        this.equipname = equipname;
    }

    public String getEquipname() 
    {
        return equipname;
    }
    public void setEquipGeoLan(String equipGeoLan) 
    {
        this.equipGeoLan = equipGeoLan;
    }

    public String getEquipGeoLan() 
    {
        return equipGeoLan;
    }
    public void setEquipGeoLon(String equipGeoLon) 
    {
        this.equipGeoLon = equipGeoLon;
    }

    public String getEquipGeoLon() 
    {
        return equipGeoLon;
    }
    public void setGeoEndtime(Date geoEndtime) 
    {
        this.geoEndtime = geoEndtime;
    }

    public Date getGeoEndtime() 
    {
        return geoEndtime;
    }
    public void setTaskname(String taskname) 
    {
        this.taskname = taskname;
    }

    public String getTaskname() 
    {
        return taskname;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("equipId", getEquipId())
            .append("taskId", getTaskId())
            .append("equipname", getEquipname())
            .append("equipGeoLan", getEquipGeoLan())
            .append("equipGeoLon", getEquipGeoLon())
            .append("geoEndtime", getGeoEndtime())
            .append("taskname", getTaskname())
            .toString();
    }
}
